package com.sitech.portal.server.dao;

import java.util.HashMap;
import java.util.List;

import com.sitech.portal.server.domain.Shortcut;
import com.sitech.portal.server.domain.ShortcutType;

public interface IShortcutDao {
	
	public List<Shortcut> queryShortcut(String loginId) throws Exception;
	
	public List<ShortcutType> queryType(String loginId) throws Exception;
	
	public void save(Shortcut shortcut) throws Exception;
	
	public void update(Shortcut shortcut) throws Exception;
	
	public void delete(Shortcut shortcut) throws Exception;
	
	public void saveType(ShortcutType shortcutType) throws Exception;
	
	public void deleteType(ShortcutType shortcutType) throws Exception;
	
	public void updateType(ShortcutType shortcutType) throws Exception;
	
	public List<HashMap> queryShortcutByType(String loginId,String shortcutType) throws Exception;

}
